package com.elong.businesstravel.protocol.login;

import org.json.JSONException;
import org.json.JSONObject;

import android.content.Context;

import com.elong.businesstravel.include.Version;
import com.elong.businesstravel.protocol.ProtocolDef;
import com.elong.businesstravel.protocol.baserequest.BaseELongHttpRequest;

/**
 * 使用记录
 * 
 * @author lenovo
 * 
 */
public class MemberGetUseBonusRequest extends BaseELongHttpRequest {

	public MemberGetUseBonusRequest(Context context, String page) {
		super(context);
		JSONObject jsonObject = new JSONObject();
		try {
			jsonObject.put("scoretype", 1);
			jsonObject.put("page", page);
			jsonObject.put("pagesize", ProtocolDef.PAGE_SIZE);
//			jsonObject.put("pagesize", 2);
		} catch (JSONException e) {
			e.printStackTrace();
		}
		setRequestActionParam(ProtocolDef.ACTION_Membergetusebonus, jsonObject);
	}

}
